package com.aloha.boot01.service.impl;

import com.aloha.boot01.domain.User;
import com.aloha.boot01.service.HelloService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author DaiZhiHeng
 * @date 2023/10/2 12:25
 */
@Service
public class HelloServiceImpl implements HelloService {

    @Resource
    private HelloServiceImpl helloService;


    @Override
    public User getInfo(Long id) {
        User user = new User();
        user.setId(id);
        user.setName("dk" + id);
        return user;
    }
}
